﻿namespace PDTPublisher
{
    using PDTPublisher.Properties;
    using System;
    using System.IO;
    using System.Windows.Forms;

    internal static class Program
    {
        [STAThread]
        private static void Main(string[] args)
        {
            if (args.Length > 0)
            {
                MainForm.Deploy();
                return;
            }
            if (!Directory.Exists(Settings.Default.SourceFolder))
            {
                Directory.CreateDirectory(Settings.Default.SourceFolder);
            }
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Form main=new MainForm();
            Application.Run();
        }
    }
}

